let fs = require('fs')

fs.readFile('input.text', (err, data) => {
  if(err){
    return console.log(err.stack)
  }
  let text = data.toString()
  console.log(text)
})

console.log('文件读取完毕')